package city.spring.modules.cardinfo.service;

import city.spring.modules.cardinfo.entity.CardMealTimeMoneyEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：pos餐次时段金额
 *
 * @author panxm
 * @date 2020-05-21 11:02:18
 */
public interface CardMealTimeMoneyService extends IService<CardMealTimeMoneyEntity> {
    String CACHE_NAME = "card_meal_time_money";

    /**
     * 业务处理：保存一个 <strong>pos餐次时段金额</strong>
     *
     * @param entity pos餐次时段金额
     */
    void saveCardMealTimeMoney(CardMealTimeMoneyEntity entity);

    /**
     * 业务处理：修改一个 <strong>pos餐次时段金额</strong>
     *
     * @param entity pos餐次时段金额
     */
    void updateCardMealTimeMoney(CardMealTimeMoneyEntity entity);

    /**
     * 业务处理：删除一个 <strong>pos餐次时段金额</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteCardMealTimeMoney(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>pos餐次时段金额</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteCardMealTimeMoney(List<String> primaryKeys);
}